package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 管道长度统计
 */
@Entity
@Data
@Table(name = "pipe_length_tj")
public class PipeLengthTj implements AbstractEntity<Long> , Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 管道总长度
     */
    @Column(name = "pipe_lengh")
    private String pipeLengh;

    /**
     * 主干管总长度
     */
    @Column(name = "main_lengh")
    private String mainLengh;

    /**
     * 支干网总长度
     */
    @Column(name = "sub_lengh")
    private String subLengh;

}
